package com.cloudlinkscm.base.authcenter.model.dto;

import java.util.List;

/**
 * Created by sin on 2017/8/15.
 *
 * 授权后的信息：
 */
public class AuthenticationWebInfo {

	private AccessToken accessToken;

	private List<ResourceTree> resourceTrees;

	public AuthenticationWebInfo() {
	}

	public AuthenticationWebInfo(AccessToken accessToken, List<ResourceTree> resourceTrees) {
		this.accessToken = accessToken;
		this.resourceTrees = resourceTrees;
	}

	@Override
	public String toString() {
		return "AuthenticationWebInfo{" +
				"accessToken=" + accessToken +
				", resourceTrees=" + resourceTrees +
				'}';
	}

	public AccessToken getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(AccessToken accessToken) {
		this.accessToken = accessToken;
	}

	public List<ResourceTree> getResourceTrees() {
		return resourceTrees;
	}

	public void setResourceTrees(List<ResourceTree> resourceTrees) {
		this.resourceTrees = resourceTrees;
	}
}
